#!/bin/bash

# This file is part of libmarco
# http://code.google.com/p/libmarco/

# Forces synchronization of Mac OS X Address Book with Google Contacts (Gmail)
# To trigger this, a synchronized device is normally required (i.e. an iPhone)
# With Leopard, additional steps are required to reveal the (hidden) synchronization option 
# where user and password need to be entered
# More info here:
# http://blog.markojung.net/2009/02/sync-everything-with-google/

/System/Library/PrivateFrameworks/GoogleContactSync.framework/Versions/A/Resources/gconsync --sync gconclid --register 1
